package com.kuson.springcloud.service.rpc.impl;

import com.kuson.springcloud.domain.CommonResult;
import com.kuson.springcloud.service.rpc.AccountService;

import java.math.BigDecimal;

/**
 * 调用减余额的最后兜底的方法
 */
public class AccountServiceImpl implements AccountService {
    @Override
    public CommonResult decrease(Long userId, BigDecimal money) {
        return new CommonResult(444,"减余额失败");
    }
}
